/* 布局容器样式 */
.app-layout {
  min-height: 100vh;
}

/* 左侧菜单栏样式 */
.menu-sider {
  background-color: #e5e7eb !important;
}

/* 侧边栏标题样式 */
.sider-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
}

.sider-title {
  color: #303133;
  font-weight: bold;
}

/* 侧边栏菜单样式 */
.sider-menu {
  background-color: #e5e7eb !important;
}

/* 菜单项文本颜色 - 关键部分 */
.sider-menu .ant-menu-item {
  color: #000000 !important;
}

/* 悬停状态下的菜单项 - 只应用于非选中状态 */
.sider-menu .ant-menu-item:not(.ant-menu-item-selected):hover {
  color: #fdfdfd !important;
  background-color: #d9e0eb !important;
}

/* 选中状态下的菜单项 - 提高优先级 */
.sider-menu .ant-menu-item-selected {
  color: #fdfdfd !important;
  background-color: #3b82f6 !important;
}

/* 选中状态下的菜单项 - 确保悬停时也保持样式 */
.sider-menu .ant-menu-item-selected:hover {
  color: #fdfdfd !important;
  background-color: #3b82f6 !important;
  /* 保持选中状态的背景色 */
}

/* 菜单项中的链接文本颜色 */
.sider-menu .ant-menu-item a {
  color: inherit !important;
}

/* 顶部导航栏样式 */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: #f0f2f5 !important;
}

/* 用户信息样式 */
.user-info {
  display: flex;
  align-items: center;
}

.user-name {
  margin-left: 8px;
}

/* 内容区域样式 */
.content-area {
  padding: 24px;
  overflow: auto;
}

.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.visited-tags {
  display: flex;
  gap: 8px;
  margin: 0 20px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  padding: 8px 0;
}

.ant-tag.ant-tag-closable {
  cursor: pointer;
}

.ant-tag.active-tag {
  text-align: center;
  padding: 4px 8px;
  color: rgb(12, 12, 12);
}

.user-info {
  display: flex;
  align-items: center;
  color: rgb(15, 15, 15);
  gap: 8px;
}